package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Top3 {
    //输入三个数，输出最大的那个
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("input a,b,c:");
        int a=in.nextInt();
        int b=in.nextInt();
        int c=in.nextInt();
        int max=a>=b?a:b;//max放的是a和b的大值
        max=max>c?max:c;
        System.out.println(max);
    }
}
